package com.fjc.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.autoconfigure.jdbc.DataSourceProperties;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class TestController {
    @Autowired
    private DataSourceProperties dataSourceProperties ;

    @RequestMapping(path = "/hello")
    public String sayHello() {
        System.out.println(dataSourceProperties);
        return "Hello Spring Boot ! " ;
    }
}
